package com.example.openfeignserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

//@EnableFeignClients  可以
//可以  提供方不要这个注解都可以因为是http的接口
//@EnableFeignClients(basePackages = "com.example.openfeignserver")
@EnableEurekaClient
@SpringBootApplication
public class OpenfeignserverApplication {

    public static void main(String[] args) {
        SpringApplication.run(OpenfeignserverApplication.class, args);
    }

}
